package com.waq.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

public class Register {
    @Id
    @Column(name = "register_id")
    private String registerId;

    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "customer_name")
    private String customerName;

    private String customerPinyin;

    private Integer gender;

    private Integer age;

    private String telephone;

    @Column(name = "transaction_status")
    private Integer transactionStatus;

    private Integer membership;

    private String consultant;

    private String marketer;

    @Column(name = "beauty_parlour")
    private String beautyParlour;

    private String referee;

    @Column(name = "referee_tel")
    private String refereeTel;

    private String doctor;

    @Column(name = "consultation_type")
    private Integer consultationType;

    @Column(name = "treatment_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date treatmentTime;

    /**
     * @return register_id
     */
    public String getRegisterId() {
        return registerId;
    }

    /**
     * @param registerId
     */
    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * @return customer_name
     */
    public String getCustomerName() {
        return customerName;
    }

    /**
     * @param customerName
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPinyin() {
        return customerPinyin;
    }

    public void setCustomerPinyin(String customerPinyin) {
        this.customerPinyin = customerPinyin;
    }
    /**
     * @return gender
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * @param gender
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * @return telephone
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * @param telephone
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * @return transaction_status
     */
    public Integer getTransactionStatus() {
        return transactionStatus;
    }

    /**
     * @param transactionStatus
     */
    public void setTransactionStatus(Integer transactionStatus) {
        this.transactionStatus = transactionStatus;
    }

    /**
     * @return membership
     */
    public Integer getMembership() {
        return membership;
    }

    /**
     * @param membership
     */
    public void setMembership(Integer membership) {
        this.membership = membership;
    }

    /**
     * @return consultant
     */
    public String getConsultant() {
        return consultant;
    }

    /**
     * @param consultant
     */
    public void setConsultant(String consultant) {
        this.consultant = consultant;
    }

    /**
     * @return marketer
     */
    public String getMarketer() {
        return marketer;
    }

    /**
     * @param marketer
     */
    public void setMarketer(String marketer) {
        this.marketer = marketer;
    }

    /**
     * @return beauty_parlour
     */
    public String getBeautyParlour() {
        return beautyParlour;
    }

    /**
     * @param beautyParlour
     */
    public void setBeautyParlour(String beautyParlour) {
        this.beautyParlour = beautyParlour;
    }

    /**
     * @return referee
     */
    public String getReferee() {
        return referee;
    }

    /**
     * @param referee
     */
    public void setReferee(String referee) {
        this.referee = referee;
    }

    /**
     * @return referee_tel
     */
    public String getRefereeTel() {
        return refereeTel;
    }

    /**
     * @param refereeTel
     */
    public void setRefereeTel(String refereeTel) {
        this.refereeTel = refereeTel;
    }

    /**
     * @return doctor
     */
    public String getDoctor() {
        return doctor;
    }

    /**
     * @param doctor
     */
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    /**
     * @return consultation_type
     */
    public Integer getConsultationType() {
        return consultationType;
    }

    /**
     * @param consultationType
     */
    public void setConsultationType(Integer consultationType) {
        this.consultationType = consultationType;
    }

    /**
     * @return treatment_time
     */
    public Date getTreatmentTime() {
        return treatmentTime;
    }

    /**
     * @param treatmentTime
     */
    public void setTreatmentTime(Date treatmentTime) {
        this.treatmentTime = treatmentTime;
    }
}